import instance from '../utils/request'

// 把这个函数暴露出去
export const login = ({ mobile, code }) => {
  return instance({
    url: 'v1_0/authorizations',
    method: 'post',
    data: {
      mobile,
      code
    }
  })
}
